const order = ['demo1', 'demo2', 'demo3']
Page({
    data: {
        background: ['https://s1.ax1x.com/2023/02/08/pSRYlB8.png', 'https://s1.ax1x.com/2023/02/08/pSRY1HS.png'],
        indicatorDots: true,
        vertical: false,
        autoplay: true,
        circular: false,
        interval: 2000,
        duration: 500,
        previousMargin: 0,
        nextMargin: 0,
        xixiexuelist: [],
        baoyanglist: [],

    },

     getxixiexue() {    
        // 获得潮囍鞋数据
        wx.request({      
            url:   'https://www.fastmock.site/mock/84965856339a68fc87be24d4a60b907c/chaoxixie/xixiexue',
                  success: (res) => {       
                console.log(res.data);        
                this.setData({             xixiexuelist: res.data         })   
            }    
        })  
    },
     getbaoyanghuishou() {    
        // 获得奢侈品保养和回收数据
        wx.request({      
            url:   'https://www.fastmock.site/mock/84965856339a68fc87be24d4a60b907c/chaoxixie/baoyanghuishou',
                  success: (res) => {       
                console.log(res.data);        
                this.setData({             baoyanglist: res.data         })   
            }    
        })  
    },
    onLoad() {
        this.getxixiexue() //洗鞋靴
        this.getbaoyanghuishou() //奢侈品保养和回收
    }
})